﻿using System;
using System.Collections.Generic;
using System.Text;

namespace 管道.Pipeline管道基类
{
    public interface IPipeline
    {
        /// <summary>
        /// 处理所有的管道事件
        /// </summary>
        /// <param name="context"></param>
        void Push(PipelineeContextModel context);

        /// <summary>
        /// 增加管道处理
        /// </summary>
        /// <param name="handle"></param>
        void AddPipelineHandle(IPipelineHandler handle);

        /// <summary>
        /// 移除管道处理
        /// </summary>
        /// <param name="handle"></param>
        void RemovePipelineHandle(IPipelineHandler handle);

    }
}
